﻿using System;
using System.Collections.Generic;
using System.Text;


namespace HAVNet.Core.String
{
    public class Strings
    {
        public static string joinobjs<T> (string separator, IEnumerable<T> ts)
        {
            var items = new List<string>();

            foreach (T tx in ts)
                items.Add (tx.ToString());

            return string.Join (separator, items.ToArray());
        }

        
        public static string tab(int n)
        {
            return new string(' ', n * 4);
        }
    }
}
